<form id="edit-user-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="{:url("edit_user")}">
<input id="c-id" data-rule="required" class="form-control form-control" name="row[uid]" type="text" value="{$row.uid}" readonly style="display: none">

{if $type==1}
<div class="form-group">
    <label class="control-label col-xs-12 col-sm-2">姓名:</label>
    <div class="col-xs-12 col-sm-8">
        <input id="c-type_1" data-rule="required" class="form-control form-control" name="row[type]" type="text" value="1" readonly style="display: none">
        <input id="c-username" data-rule="required" class="form-control form-control" name="row[username]" type="text" value="{$row.username}" readonly>
    </div>
</div>

<div class="form-group">
    <label class="control-label col-xs-12 col-sm-2">现有账户余额:</label>
    <div class="col-xs-12 col-sm-8">
        <input id="c-balance" data-rule="required" class="form-control form-control" name="row[balance]" type="text" value="{$row.balance}" readonly>
    </div>
</div>

<div class="form-group">
    <label class="control-label col-xs-12 col-sm-2">新增金豆数:</label>
    <div class="col-xs-12 col-sm-8">
        <input id="c-value" data-rule="required" class="form-control form-control" name="row[value]" type="number" type="text">
    </div>
</div>
{elseif  $type==2/}
<div class="form-group">
    <label class="control-label col-xs-12 col-sm-2">姓名:</label>
    <div class="col-xs-12 col-sm-8">
        <input id="c-type_2" data-rule="required" class="form-control form-control" name="row[type]" type="text" value="2" readonly style="display: none">
        <input id="c-username_1" data-rule="required" class="form-control form-control" name="row[username]"  type="text" value="{$row.username}" readonly>
    </div>
</div>
<div class="form-group">
    <label class="control-label col-xs-12 col-sm-2">手机号:</label>
    <div class="col-xs-12 col-sm-8">
        <input id="c-mobile" data-rule="required" class="form-control form-control" name="row[mobile]" type="text">
    </div>
</div>
{elseif $type==3 /}
<div class="form-group">
    <label class="control-label col-xs-12 col-sm-2">淘宝ID/数字:</label>
    <div class="col-xs-12 col-sm-8">
        <input id="c-type_3" data-rule="required" class="form-control form-control" name="row[type]" type="text" value="3" readonly style="display: none">
        <input id="c-taobaoid" data-rule="required" class="form-control form-control" name="row[tao_bao_id]" type="text">
    </div>
</div>
{elseif $type==4 /}
<div style="text-align: center;margin-top: 100px">
    <input id="c-type_4" data-rule="required" class="form-control form-control" name="row[type]" type="text" value="4" readonly style="display: none">
    派客“杨树”的登录密码将被重置为

    “000000”

    是否确认重置密码？
</div>
{elseif $type==5 /}
<div class="form-group">
    <label class="control-label col-xs-12 col-sm-2">编号:</label>
    <div class="col-xs-12 col-sm-8">
        <input id="c-type_5" data-rule="required" class="form-control form-control" name="row[type]" type="text" value="5" readonly style="display: none">
        <input id="c-member_no" data-rule="required" class="form-control form-control" name="row[member_no]" type="text" value="{$row.member_no}">
    </div>
</div>
{/if}

</form>